|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.boaframework.OfferingStrategy
negotiator.boaframework.offeringstrategy.other.TimeDependent_Offering
public class TimeDependent_Offering
This is an abstract class used to implement a TimeDependentAgent Strategy adapted from [1] [1] S. Shaheen Fatima Michael Wooldridge Nicholas R. Jennings Optimal Negotiation Strategies for Agents with Incomplete Information http://eprints.ecs.soton.ac.uk/6151/1/atal01.pdf The default strategy was extended to enable the usage of opponent models. Note that this agent is not fully equivalent to the theoretical model, loading the domain may take some time, which may lead to the agent skipping the first bid. A better implementation is GeniusTimeDependent_Offering.
| Field Summary |
|---|
| Fields inherited from class negotiator.boaframework.OfferingStrategy |
|---|
endNegotiation, helper, negotiationSession, nextBid, omStrategy, opponentModel |
| Constructor Summary | |
|---|---|
TimeDependent_Offering()
Empty constructor used for reflexion. |
|
TimeDependent_Offering(NegotiationSession negoSession,
OpponentModel model,
OMStrategy oms,
double e,
double k,
double max,
double min)
|
|
| Method Summary | |
|---|---|
BidDetails |
determineNextBid()
Simple offering strategy which retrieves the target utility and looks for the nearest bid if no opponent model is specified. |
BidDetails |
determineOpeningBid()
Determines the first bid to be offered by the agent |
double |
f(double t)
From [1]: A wide range of time dependent functions can be defined by varying the way in which f(t) is computed. |
NegotiationSession |
getNegotiationSession()
|
void |
init(NegotiationSession negoSession,
OpponentModel model,
OMStrategy oms,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Method which initializes the agent by setting all parameters. |
double |
p(double t)
Makes sure the target utility with in the acceptable range according to the domain Goes from Pmax to Pmin! |
| Methods inherited from class negotiator.boaframework.OfferingStrategy |
|---|
endSession, getHelper, getNextBid, isEndNegotiation, loadData, setNextBid, storeData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeDependent_Offering()
public TimeDependent_Offering(NegotiationSession negoSession,
OpponentModel model,
OMStrategy oms,
double e,
double k,
double max,
double min)
| Method Detail |
|---|
public void init(NegotiationSession negoSession,
OpponentModel model,
OMStrategy oms,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
throws java.lang.Exception
init in class OfferingStrategynegoSession - state of the negotiation.model - opponent model which may be used.oms - opponent model strategy which may be used.parameters - optional parameters for the offering strategy.
java.lang.Exception - if the offering strategy fails to initialize.public BidDetails determineOpeningBid()
OfferingStrategy
determineOpeningBid in class OfferingStrategypublic BidDetails determineNextBid()
determineNextBid in class OfferingStrategypublic double f(double t)
public double p(double t)
t -
public NegotiationSession getNegotiationSession()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||